golang.org/x/net/http2.stream.body (field)
11 uses
golang.org/x/net/http2 (current package)
server.go#L679: body *pipe // non-nil if expecting DATA frames
server.go#L1742: if p := st.body; p != nil {
server.go#L1897: if st.body == nil {
server.go#L1908: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1922: wrote, err := st.body.Write(data)
server.go#L1976: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1979: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
server.go#L1980: st.body.CloseWithError(io.EOF)
server.go#L1999: if st.body != nil {
server.go#L2002: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
server.go#L2101: st.body = req.Body.(*requestBody).pipe // may be nil
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)